import { Button, Result } from 'antd';
import { history } from '@umijs/max';

const UnAccessPage = () => {
  return (
    <Result
      status="403"
      title="403"
      subTitle="抱歉您暂无权限"
      extra={<Button type="primary" onClick={() => history.push('/')}>返回首页</Button>}
    />
  );
};
export default UnAccessPage;
